package com.shan.domm.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName dorm
 */
@TableName(value ="dorm")
@Data
public class Dorm implements Serializable {
    /**
     * 宿舍楼
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 宿舍房间id
     */
    @TableField("dorm_rnumber")
    private Integer dormRnumber;

    /**
     * 宿舍楼宇名字
     */
    @TableField("dorm_name")
    private String dormName;

    /**
     * 工作人数
     */
    @TableField("work_number")
    private Integer workNumber;

    /**
     * 宿舍员工id
     */
    @TableField("dorm_wnumber")
    private Integer dormWnumber;

    /**
     * 值班员工姓名
     */
    @TableField("now_worker")
    private String nowWorker;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}